<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common_css :: commonHeader('reids缓存管理')"></head>
<body>
<!--搜索框-->
<form method="post" id="tabfrom">
    <div style="padding:2px" class="easyui-panel" title="数据查询">
        <table class="form-table">
            <tr>
                <td align="right" width="10%">编码名称：</td>
                <td align="left"><input id="selCode" style="width:150px" class="easyui-validatebox">
                    <a class="easyui-linkbutton" iconCls='icon-search' onclick="doSearch();">查询</a>
                </td>

            </tr>
        </table>
    </div>
    <br>
</form>

<div id="toolbar">
    <shiro:hasPermission name="system:redis:del">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel" onclick="delRedis()">删除</a>
    </shiro:hasPermission>
</div>

<div id="dg"></div>


<div id="dlg" class="easyui-dialog" style="width:650px;height:400px"
     closed="true" modal="true" maximizable="true" resizable="true">


    <form id="myform" method="post">
        <div style="padding:20px">
            <table cellpadding="2px" cellspacing="0" class="form-table">
                <input type="hidden" name="id" id="id"/>
                <tr>
                    <td align="right">Redis缓存KEY</td>
                    <td>
                        <input class="easyui-textbox" name="code"
                               data-options="multiline:true" style="height:50px;width:300px"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">Redis缓存VALUE</td>
                    <td>
                        <input class="easyui-textbox" name="value"
                               data-options="multiline:true" style="height:150px;width:500px"/>
                    </td>
                </tr>
            </table>
        </div>

    </form>
</div>

<div th:include="common_js :: commJS"></div>
<script type="text/javascript"
        th:src="@{/js/system/redis.js}"></script>
</body>
</html>